package com.qqtop10.manager.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.qqtop10.manager.dao.IntCategoryMapper;
import com.qqtop10.manager.model.IntCategory;
import com.qqtop10.manager.model.PagingArgs;
import com.qqtop10.manager.service.IntCategoryService;

@Service("intCategoryService")
public class IntCategoryServiceImpl extends BaseService implements IntCategoryService {

	@Autowired
	private IntCategoryMapper intCategoryMapper;

	@Override
	public List<IntCategory> all(IntCategory input, PagingArgs pagingArgs) {
		return intCategoryMapper.all(asMap(input, pagingArgs));
	}

	@Override
	public int count(IntCategory input) {
		return intCategoryMapper.count(input);
	}

	@Override
	public int delete(IntCategory industryCategory) {
		return intCategoryMapper.delete(industryCategory);
	}

	@Override
	public int insertSelective(IntCategory record) {
		return intCategoryMapper.insertSelective(record);
	}

	@Override
	public int updateByUuidSelective(IntCategory record) {
		return intCategoryMapper.updateByUuidSelective(record);
	}

	@Override
	public IntCategory selectByUuid(String uuid) {
		return intCategoryMapper.selectByUuid(uuid);
	}

	@Override
	public List<IntCategory> selectAll() {
		return intCategoryMapper.selectAll();
	}

}
